package com.heima.search.service;

import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.article.dtos.WmNewsDownOrUpMsgDTO;
import com.heima.model.search.dtos.UserSearchDto;
import com.heima.search.pojo.ArticleDoc;

import java.util.List;

public interface ApUserSearchService {

    void importArticle(List<ArticleDto> articleDtoList);

    /**
     * 索索
     * @param dto
     * @return
     */
    List<ArticleDoc> search(UserSearchDto dto);

    void onArticleCreate(long parseLong);

    void onArticleDownOrUp(WmNewsDownOrUpMsgDTO wmNewsDownOrUpMsgDTO);
}